Using ReaConverter Pro

Command line utility :: Format of config file


Section [Common]

1) Source = string with path to image files you want to be converted
2) Ext_source = string with extension (type) of image files you want to be converted
3) Destination = string with path to the destination folder
4) Ext_dest = string with extension (type) of converted image files
5) Same_date = 1 if you want to set converted file date same as original file and = 0 otherwise
6) Save_path = 0 if you want to save all files into one (destination) folder, = 1 if you want to to convert with saving path info of an original file starting from a root folder and = 2 if you want to to convert with saving path info starting from a current folder
7) Use_FileList = string with path to a text file with list of files you want to be converted
8) Read_Subfolders = 1 if you want to process files from subfolders of folder defined by "Source" parameter and = 0 therwise
9) Wmf_zoom = EMF/WMF images will be resized by the value (from 1 to 500%)
10) Overwrite = 0 if you want to replace (overwrite) existing file, = 1 if you want to be asked about overwriting and = 2 if you do not want to overwrite existing file
11) Delete_files = 1 if you want to delete successfully processed (source) files and = 0 otherwise. Note, it will not delete a source file if a converted file has the same name and type.
12) Eps_dpi = integer number that specify DPI resolution for loading EPS, PS and PDF fles (from 1 to 1200)
13) Raw_width = width (in pixels) of RAW file that you want to load
14) Raw_height = height (in pixels) of RAW file that you want to load
15) Raw_color = 0 for loading Grayscale, = 1 for loading RGB, = 2 for loading BGR file
16) Raw_offset = positive integer number that means number of bytes used for optional RAW header
17) Priority = positive integer number varying from 1 (low) to 5 (high) priority
Examples:

1. It will process all TIF files from c:\
[Common]
Source=c:\
Ext_source=TIF
Destination=c:\123
Ext_dest=jpg
Same_date=0
Save_path=1
Use_FileList=
Read_Subfolders=0

2. It will process all files described in filelist.txt.
[Common]
Source=c:\
Ext_source=TIF
Destination=c:\123
Ext_dest=jpg
Same_date=0
Save_path=1
Use_FileList=c:\filelist.txt
Read_Subfolders=0

Example of filelist.txt:
c:\folder1\file1.bmp
c:\folder1\file2.jpg
c:\folder2\folder3\file2.png


Section [File name]

1) Prefix = string with a text prefix that will be added to filename of converted files
2) Suffix = string with a text suffix that will be added to filename of converted files
3) Prefix_num = initial prefix number that will be added to filename of converted files
4) Suffix_num = initial suffix number that will be added to filename of converted files
5) Add_prefix = 0 if you do not want to add prefix, = 1 if you want to add a text prefix, = 2 if you want to add a numerical prefix, = 3 if you want to add a Date+time prefix to filename of converted files
6) Add_suffix = 0 if you do not want to add suffix, = 1 if you want to add a text suffix, = 2 if you want to add a numerical suffix, = 3 if you want to add a Date+time prefix to filename of converted files
7) Leading_zeros = 1 if you want to add leading zeros to numeric prefix and/or suffix, and = 0 otherwise
8) Digits = number that specifies number of digits reserved for the numerical prefix and/or suffix, this option works if Leading_zeros = 1
9) File_case = 0 for lower case, = 1 for upper case and = 2 for no change of converted filenames
10) Ext_case = 1 if you want to get converted files with lower case extention and = 0 otherwise
11) Replace_name = 1 if you want to replace a substring in filename and = 0 otherwise
12) Substring_1 = string to be replaced in filename
13) Substring_2 = string to be replaced with in filename
Example:

It will add a text prefix "new_" and a numerical suffix "0001", "0002" etc.
[File name]
Prefix=new_
Suffix=
Prefix_num=0
Suffix_num=1
Add_prefix=1
Add_suffix=2
Leading_zeros=1
Digits=4
File_case=2
Ext_case=1
Replace_name=0
Substring_1=
Substring_2=

Section [Jpeg]

1) Quality = quality for converted JPG files (from 1 to 100%)
2) Size = appoximate size of converted JPG files (from 1 to 999 kb)
3) Use_quality = 1 if you want the program to use quality value to create JPG files and = 0 if you want to set a size of converted JPG files
4) Progressive = 1 if you want to create progressive JPG files and = 0 otherwise
5) Color_model = color model used to create JPG files (0 - YCbCr; 1 - CMYK; 2 - RGB; 3 - YCbCrK; 4 - Gray)
Example:

1. It will create progressive JPG files using quality = 75
[Jpeg]
Quality=75
Size=50
Use_quality=1
Progressive=1
Color_model=0
2. It will create JPG files, an appoximate size of the files will be 50 kb
[Jpeg]
Quality=75
Size=50
Use_quality=0
Progressive=0
Color_model=0


Section [Gif]

1) Auto_color = 1 if you want the program to take transparency color in auto mode and = 0 otherwise
2) Color_red = red component of transparency color (from 0 to 255)
3) Color_green = green component of transparency color (from 0 to 255)
4) Color_blue = blue component of transparency color (from 0 to 255)
5) Transparency = 1 if you want to create transparent GIF files and = 0 otherwise
6) Interlaced = 1 if you want to create interlaced GIF files and = 0 otherwise
Example:

[Gif]
Auto_color=1
Color_red=0
Color_green=0
Color_blue=1
Transparency=1
Interlaced=0


Section [Tif]

1) Compression = compression method used to create TIF files (1 - no compression; 2 - Huffman; 3 - PackBits (RLE); 4 - CCITT Group 3, 1D; 5 - CCITT Group 3, 2D; 6 - CCITT Group 4, 2D)
Example:

[Tif]
Compression=2

Section [Png]

1) Auto_color = 1 if you want the program to take transparency color in auto mode and = 0 otherwise
2) Color_red = red component of transparency color (from 0 to 255)
3) Color_green = green component of transparency color (from 0 to 255)
4) Color_blue = blue component of transparency color (from 0 to 255)
5) Transparency = 1 if you want to create transparent PNG files and = 0 otherwise
6) Interlaced = 1 if you want to create interlaced PNG files and = 0 otherwise
7) Compression = level of compression, the value can vary from 0 (no compression) to 9 (best compression)
Example:

[Png]
Auto_color=1
Color_red=0
Color_green=0
Color_blue=1
Transparency=1
Interlaced=0
Compression=5


Section [Bmp]

1) Compressed = 1 if you want to create compressed BMP files and = 0 otherwise
Example:

[Bmp]
Compressed=1

Section [Pcx]

1) Compressed = 1 if you want to create compressed PCX files and = 0 otherwise
Example:

[Pcx]
Compressed=1

Section [Tga]

1) Compressed = 1 if you want to create compressed TGA files and = 0 otherwise
Example:

[Tga]
Compressed=1

Section [Jp2]

1) Quality = quality for converted JP2 files (from 1 to 100%)
Example:

[Jp2]
Quality=75

Section [Ico]

1) Multipage = 1 if you want to create standard multipage Windows XP icon and = 0 otherwise
2) Custom = 1 if you want to create custom icon and = 0 otherwise
3) Width = custom width in pixels
4) Height = custom height in pixels
5) Color_res = custom color resolution, can be = 0 (16 colors), = 1 (256 colors) and = 2 (True color)
Example:

[Ico]
Multipage=0
Custom=1
Width=32
Height=32
Color_res=2

Section [Multipage]

1) Option = 0 if you want to convert each multipage file to another, = 1 if you want to save all processed files to one GIF/TIF file, = 2 if you want to save every page of converted file as a separate file
2) Add_multipage_prefix = 1 if you want to add prefix to filename of converted page and = 0 otherwise (used with Option=2 only)
3) Add_multipage_suffix = 1 if you want to add suffix to filename of converted page and = 0 otherwise (used with Option=2 only)
4) Multipage_prefix = initial prefix number that will be added to filename of converted page (used with Option=2 only)
5) Multipage_suffix = initial suffix number that will be added to filename of converted page (used with Option=2 only)
Example:

[Multipage]
Option=0
Add_multipage_prefix=0
Add_multipage_suffix=0
Multipage_prefix=0
Multipage_suffix=0

Section [Save_params]

1) Color_option = 0 if you want to use output "Bits per sample" and "Sample per pixel" values from original file, = 1 if you want to define the output color resolution values yourself, = 2 if you want to use optimum values which will be calculated for each converted file
2) Bits_per_sample = number of bits used to store information about each color channel (from 1 to 8)
3) Samples_per_pixel = number of color channels used to store information about one pixel (can be 1 or 3)
4) Dpi_option = 0 if you want to copy information about dpi resolution from original file, = 1 if you want to set your own values for dpi resolution
5) Dpi_x = horizontal resolution for converted files (from 1 to 10000 dpi)
6) Dpi_y = vertical resolution for converted files (from 1 to 10000 dpi)
7) Copy_alpha = 1 if you want to copy information about alpha channel (transparency) from original file and = 0 otherwise
8) Copy_iptc = 1 if you want to copy IPTC information from original file and = 0 otherwise
9) Copy_exif = 1 if you want to copy EXIF information from original file and = 0 otherwise
Example:

[Save_params]
Color_option=1
Bits_per_sample=8
Samples_per_pixel=1
Dpi_option=0
Dpi_x=72
Dpi_y=72
Copy_alpha=0
Copy_iptc=1
Copy_exif=1

Section [Thumbnail]

1) Create = 1 if you to create thumbnail copy of converted image to JPG file and = 0 otherwise
2) Destination = string with path to the destination folder
3) Jpg_quality = quality for converted JPG files (from 5 to 100%)
4) Jpg_res = resolution for converted JPG files (from 1 to 10000dpi)
5) Height = height of thumbnail copy in pixels
6) Width = width of thumbnail copy in pixels
7) Save_path = 1 if you want to save copy with path info of an original file and = 0 otherwise
8) Prefix = string with prefix that will be added to filename of thumbnail copy
9) Suffix = string with suffix that will be added to filename of thumbnail copy
10) Add_prefix = 1 if you want to add prefix to filename of thumbnail copy and = 0 otherwise
11) Add_suffix = 1 if you want to add suffix to filename of thumbnail copy and = 0 otherwise
12) Ext_case = if you want to get thumbnail copy files with lower case extention and = 0 otherwise
13) Case = 0 for lower case, = 1 for upper case and = 2 for no change of thumbnail copy filenames
14) Resize_type = 1 to use both height and width (do not keep aspect) of thumbnail copy, = 2 to use only height (keep aspect) and = 3 to use only width (keep aspect), = 4 to use both height and width (keep aspect)
15) Do_not_resize_if_less = 1 if new Height and Width are less than current values then image will not be resized, = 0 otherwise
16) Overwrite = 0 if you want to replace (overwrite) existing thumbnail file, = 1 if you want to be asked about overwriting and = 2 if you do not want to overwrite existing file
Example:

[Thumbnail]
Create=1
Destination=c:\
Jpg_quality=75
Jpg_res=72
Height=100
Width=150
Save_path=1
Prefix=thumb_
Suffix=_thumb
Add_prefix=0
Add_suffix=0
Ext_case=1
Case=1
Resize_type=1
Do_not_resize_if_less=0
Overwrite=0


See also:

Format of text script file

Command line utility overview